package pl.lodz.p.browarex.services.interfaces;

import java.util.List;

import pl.lodz.p.browarex.base.interfaces.ICrudService;
import pl.lodz.p.browarex.dao.OrderDAO;
import pl.lodz.p.browarex.model.Customer;
import pl.lodz.p.browarex.model.Order;
import pl.lodz.p.browarex.model.OrderProductInfo;

public interface IOrderService extends ICrudService<OrderDAO, Order, Long> {
	public Order getBasketOrderForCustomer(Customer customer);

	public Order getBasketOrderForCustomer(Long customerID);

	public List<Order> getOrderForCustomer(Customer customer);

	public List<Order> getOrderForCustomer(Long customerID);

	public void addToOrder(Order order, OrderProductInfo orderProductInfo,
			double discount);

	public Order loadByOrderID(String orderID);
}
